package com.hustzp.com.xichuangzhu.poetry.model;

import android.os.Parcelable;

import com.avos.avoscloud.AVClassName;
import com.avos.avoscloud.AVObject;
import com.avos.avoscloud.AVUser;

import java.util.Date;

/**
 * Copyright (C) 2015 The huimai mobile client Project
 * All right reserved.
 *
 * @author: wuzhimin@huimai365.com
 * @date: 2016/6/2 16:29
 * @Description:
 */
@AVClassName("UserNotification")
public class UserNotification extends AVObject {
    public static final Parcelable.Creator CREATOR = AVObject.AVObjectCreator.instance;
    public static final String USER = "sender";
    public static final String CONTENT = "content";
    public static final String CREATEDAT = "createdAt";

    public AVUser getUSER() {
        return getAVObject(USER);
    }

    public String getCONTENT() {
        return getString(CONTENT);
    }

    public Date getCREATEDAT() {
        return getDate(CREATEDAT);
    }
}
